package role

import (
	"context"
	"donkey-admin/internal/service"

	"donkey-admin/api/role/v1"
)

func (c *ControllerV1) RoleUpdatePermission(ctx context.Context, req *v1.RoleUpdatePermissionReq) (res *v1.RoleUpdatePermissionRes, err error) {
	return service.Role().RoleUpdatePermission(ctx, req)
}
